<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>悠乐马业务支撑系统</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type='text/javascript' src='js/jquery-1.7.min.js'></script>
<script type="text/javascript" src="js/jquery.validate.js" ></script>
<script language="javascript">
	$.validator.setDefaults({
        submitHandler: function() { document.forms["forms"].submit(); }
	});
	$(function(){
		$("#form1").validate({
			rules: {
				bitian: "required",
				password: {
					required: true,
					minlength: 6
				},
				re_password: {
					required: true,
					minlength: 6,
					equalTo: "#password"
				},
				email: {
					required: true,
					email: true
				},
				number:{
					required:true,
					number:true
				},
				abc:{
					required:true,
					digits:true
				},
				url:{
					required:true,
					url:true
				},
				date: {
					required:true,
					digits:true
				}
			},
			messages: {
			bitian: "请输入！",
			password: {
				required: "请输入密码！",
				minlength: "密码不得少于6个字符"
			},
			re_password: {
				required: "请再次输入密码！",
				minlength: "密码不得少于6个字符",
				equalTo: "两次输入的密码不一到致"
			},
			email: "请输入正确格式的电子邮件",
			number:"请输入合法的数字",
			abc:"只能输入整数",
			url:"请输入合法的网址",
			date: "请输入合法的日期",
			}
		})
	})
</script>
</head>

<body id="body">
<div class="warning"><p>后台CXXX文件出错！后台CXXX文件出错！后台CXXX文件出错！后台CXXX文件出错！后台CXXX文件出错！后台CXXX文件出错！后台CXXX文件出错！<p></div>
<div class="main" id="main">
  <div class="content"  id="content">
  <h3><b>线路管理 &gt; 线路新增</b></h3>
   <form id="form1" name="form1" method="post" action="">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="line_add">
  <tr>
    <td width="150" height="40" align="right" ><b class="star">*</b> 线路名称：</td>
    <td colspan="2">
     
      <input type="text" name="textfield" id="textfield" class="text_input"/>
    </td>
  </tr>
  <tr>
    <td height="40" width="" align="right">出发地：</td>
    <td width="190"><input type="text" name="textfield2" id="textfield2"  class="select_input"/></td>
    <td align="left">&nbsp;</td>
    </tr>
  <tr>
    <td height="40" align="right">目的地：</td>
    <td><input type="text" name="textfield2" id="textfield3"  class="select_input"/></td>
    <td align="left">&nbsp;</td>
    </tr>
  <tr>
    <td height="40" align="right">发团日期：</td>
    <td><input type="text" name="textfield4" id="textfield4"  class="text_input"/></td>
    <td align="left">&nbsp;</td>
    </tr>
  <tr>
    <td height="40" align="right">返程日期：</td>
    <td><input type="text" name="textfield4" id="textfield5"  class="text_input"/></td>
    <td align="left">&nbsp;</td>
    </tr>
  <tr>
    <td height="40" align="right">必填</td>
    <td colspan="2"><input type="text" class="text_input" name="bitian" id="bitian" /><label class="sucess"></label></td>
    </tr>
    <tr>
    <td height="40" align="right">密码</td>
    <td colspan="2"><input id="password" name="password" type="password" class="text_input" /><label class="sucess"></label></td>
    </tr>
    <tr>
    <td height="40" align="right">确认密码</td>
    <td colspan="2"><input id="re_password" name="password" type="password" class="text_input" /><label class="sucess"></label></td>
    </tr>
    <tr>
    <td height="40" align="right">邮箱</td>
    <td colspan="2"><input id="email" name="email" class="text_input" /><label class="sucess"></label></td>
    </tr>
    <tr>
    <td height="40" align="right">数字</td>
    <td colspan="2"><input id="number" name="number" class="text_input" /><label class="sucess"></label></td>
    </tr>
    <tr>
    <td height="40" align="right">整数</td>
    <td colspan="2"><input name="abc" class="text_input" /></td>
    </tr>
    <tr>
    <td height="40" align="right">网址</td>
    <td colspan="2"><input id="url" name="url" class="text_input" /></td>
    </tr>
    <tr>
    <td height="40" align="right">日期</td>
    <td colspan="2"><input id="date" name="date" class="text_input" /></td>
    </tr>
    <tr>
    <td height="40" align="right">&nbsp;</td>
    <td>&nbsp;</td>
    <td align="left">&nbsp;</td>
    </tr>
    <tr>
    <td height="40" align="right">&nbsp;</td>
    <td>&nbsp;</td>
    <td align="left">&nbsp;</td>
    </tr>
  <tr>
    <td height="40" align="right">&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td height="40" align="right">&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td height="40" align="right">&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td height="40" align="right">&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" align="center" height="50"><a class="def_btn" href="#">提交</a> </td>
  </tr>
</table>
</form>
  </div>
    <div class="clear">
    </div>
</div>
</body>
</html>
